cmake_minimum_required(VERSION 3.4.1)

include_directories(src/main/jni/libyuv/include)

add_subdirectory(src/main/jni/libyuv)

add_library( yuv-utils
             SHARED
             src/main/jni/yuvutils.cpp)


find_library(log-lib
              log )

target_link_libraries( yuv-utils
                       ${log-lib}
                       yuv)